package com.llp.declaresystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author llp
 * {@code @date} 2022年11月27日17:22
 */
@Mapper
public interface AdminProjectMapper
{

    //从project
    Integer deleteProject(@Param("categoryid")Integer categoryid);
    //从categoryUnit删除
    Integer deleteFromCategoryUint(@Param("categoryid")Integer categoryid);

    //从project_category删除（由于外键关系，最后执行这一步）
    Integer deleteFromProjectCategory(@Param("categoryid")Integer categoryid);
}
